from django.urls import re_path
from . import views

urlpatterns = [

    # re_path(r'^api/v1.0/session/$', views.LoginRequired.as_view()),

    # re_path(r'^$', views..as_view()),
    # 注册
    re_path(r'^api/v1.0/users$', views.RegisterView.as_view()),
    # 登录
    re_path(r'^api/v1.0/session$', views.LoginView.as_view()),

]
